FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER kaiwotech@gmail.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /module-activity

WORKDIR /module-activity

EXPOSE 8130

ADD ./module-activity/activity-service/target/activity-service.jar ./

CMD sleep 120;java -Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom -jar activity-service.jar
